using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;

using System.Diagnostics;

using System.IO;

namespace EForms
{
	[Designer(typeof (EForms.Themes.ButtonDesigner))]
	[System.ComponentModel.DesignerCategory("None")]
	[System.Drawing.ToolboxBitmap(typeof(System.Windows.Forms.TabControl))]
	public class TabControl :  System.Windows.Forms.TabControl//Crownwood.Magic.Controls.TabControl
	{
		public TabControl()
		{
			this.BackColor = Themes.Colors.ApplicationBackground;
			//this.PositionTop = true;

		}
	
	
	
//		protected override void OnControlAdded(System.Windows.Forms.ControlEventArgs e)
//		{
//			TabPage tp = e.Control as TabPage;
//			if(tp != null)
//                this.TabPages.Add(tp);
//		}
		public new System.Drawing.Size Size
		{
			get
			{
				return base.Size;
			}
			set
			{
				base.Size = value;
			}
		}
	}
}
